<?php //$this->breadcrumbs=array('Error');?>

<?php if ( isset($code) && $code == 404):?>
	<div class="col-md-12 text-center pt-50 pb-50 bg-red text-white">
			<div class="error text-center pt-30 pb-30">
			<img src="<?php echo Yii::app()->getBaseUrl()?>/images/404.png" />
			<h1 class="bigger text-upper font-900">too fat to reach!</h1>
				<h3>We cannot reach the page now, please try other pages!</h3>
			</div>
	</div>
	
	<?php elseif( isset($code) && $code == 500):?>
		<div class="col-md-12 text-center pt-50 pb-50 bg-sky-blue">
			<div class="error text-center pt-30 pb-30">
				<div class="col-md-6">
					<h1 class="bigger text-upper font-900">Error: 500</h1>
					<h3><?php echo CHtml::encode($message); ?></h3>
				</div>
				<div class="col-md-6">
					<img src="<?php echo Yii::app()->getBaseUrl()?>/images/500.png" />
				</div>
			</div>
		</div>
	<?php else:?>
	<div class="col-md-12 text-center pt-50 pb-50 bg-sky-blue">
			<div class="error text-center pt-30 pb-30">
				<div class="col-md-6">
					<h1 class="bigger text-upper font-900">Error: 500</h1>
					<h3><?php echo CHtml::encode($message); ?></h3>
				</div>
				<div class="col-md-6">
					<img src="<?php echo Yii::app()->getBaseUrl()?>/images/500.png" />
				</div>
			</div>
		</div>
	<?php endif; ?>